﻿namespace StarsAdmin.Core.DB.Entities
{
    /// <summary>
    /// 基础实体
    /// </summary>
    public class BaseEntity : BaseIdEntity
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? LastUpdateDateTime { get; set; }

        /// <summary>
        /// 是否软删除，默认为false
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}